<%@ page language="java" contentType="text/html; charset=UTF-8"
         pageEncoding="UTF-8"%>
<%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
    
    String picpath = request.getContextPath() + "/pictures/";
    //String picpath = "http://localhost/pictures/";
%>
<div class="clearfix">
    <ul class="list-unstyled">
        <c:forEach var="dressing" items="${dressings}">
            <li class="pull-left" style="padding:5px;">
                <a href="/dressings/${dressing.id}">
                    <img style="height:300px" src="<%=picpath%>${dressing.pictureName}" />
                </a>
            </li>
        </c:forEach>
    </ul> 
</div>
